package com.pingao.mp.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class LiquibaseConfiguration {

//    @Bean
//    public SpringLiquibase liquibase(DataSource dataSource, DataSourceProperties dataSourceProperties,
//                                     LiquibaseProperties liquibaseProperties) {
//        SpringLiquibase liquibase = new SpringLiquibase();
//        liquibase.setDataSource(dataSource);
//        liquibase.setChangeLog("classpath:liquibase/master.xml");
//        liquibase.setContexts(liquibaseProperties.getContexts());
//        liquibase.setDefaultSchema(liquibaseProperties.getDefaultSchema());
//        liquibase.setDropFirst(liquibaseProperties.isDropFirst());
//        liquibase.setShouldRun(liquibaseProperties.isEnabled());
//        return liquibase;
//    }
}
